package ccgl.com.model;

import java.util.Date;

/**
 * 订单详细
 * @author Administrator
 *
 */
public class MDdxx {
	private String id;
	private String ddid;
	private String ddh;// 订单号
	private String xh;// 型号
	private float sl;// 数量
	private float dj;// 单价
	private String xslx;// 销售类型（批发/零售）
	private Date gxsj;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDdh() {
		return ddh;
	}

	public void setDdh(String ddh) {
		this.ddh = ddh;
	}

	public String getXh() {
		return xh;
	}

	public void setXh(String xh) {
		this.xh = xh;
	}

	public float getSl() {
		return sl;
	}

	public void setSl(float sl) {
		this.sl = sl;
	}

	public float getDj() {
		return dj;
	}

	public void setDj(float dj) {
		this.dj = dj;
	}


	public String getDdid() {
		return ddid;
	}

	public void setDdid(String ddid) {
		this.ddid = ddid;
	}

	public String getXslx() {
		return xslx;
	}

	public void setXslx(String xslx) {
		this.xslx = xslx;
	}

	public Date getGxsj() {
		return gxsj;
	}

	public void setGxsj(Date gxsj) {
		this.gxsj = gxsj;
	}

	public Object[] getPropertiesUpdateArray() {
		Object[] a = new Object[4];
		a[0] = xh;
		a[1] = sl;
		a[2] = dj;
		a[3] = xslx;
		return a;
	}

	public Object[] getPropertiesArray() {
		Object[] a = new Object[8];
		a[0] = id;
		a[1] = ddid;
		a[2] = ddh;
		a[3] = xh;
		a[4] = sl;
		a[5] = dj;
		a[6] = xslx;
		a[7] = gxsj;
		return a;
	}

}
